package com.example.api.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("/api/employeeSex")
@PreAuthorize("hasAnyRole('ROLE_SUPER_ADMIN' ,'ROLE_EMPLOYEE')")
public class EmployeeSexController {



//    @Log(moudle = "员工管理",type = BusincessType.QUERY)
//    @GetMapping("/searchSex/{gender}")
//    public List<Employee> findByLikeName(@PathVariable String gender) {
//        return employeeSexService.findByLikeSex(gender);
//    }

}
